package com.irain.pp.tool.api.syn;

/**
 * @author WangYanPeng
 * @date 2017/11/2 21:21
 */
public interface LockCallBack<T> {

    /**
     * 执行锁内代码块的逻辑
     * @return
     * @throws Throwable
     */
    T execute() throws Throwable;
}
